package com.yunxi.model.sell;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 车辆销售渠道管理
 * </p>
 *
 * @author 
 * @since 2019-08-21
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_car_sell_partner")
@ApiModel(value="CarSellPartner对象", description="车辆销售渠道管理")
public class CarSellPartner implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "SELL_ID", type = IdType.UUID)
    private String sellId;

    @ApiModelProperty(value = "产品代码")
    @TableField("PRODUCT_CODE")
    private String productCode;

    @ApiModelProperty(value = "产品名称")
    @TableField("PRODUCT_NAME")
    private String productName;

    @ApiModelProperty(value = "品牌id")
    @TableField("BRAND_CODE")
    private String brandCode;

    @ApiModelProperty(value = "车系ID")
    @TableField("SERIES_CODE")
    private String seriesCode;

    @ApiModelProperty(value = "车型代码")
    @TableField("MODEL_CODE")
    private String modelCode;

    @ApiModelProperty(value = "配置代码")
    @TableField("CATALOG_CODE")
    private String catalogCode;

    @ApiModelProperty(value = "内饰颜色（多个逗号分隔）")
    @TableField("COLOR_ID_INS")
    private String colorIdIns;

    @ApiModelProperty(value = "内饰颜色中文描述（多个逗号分隔）")
    @TableField("COLOR_NAME_INS")
    private String colorNameIns;

    @ApiModelProperty(value = "外饰颜色（多个逗号分隔）")
    @TableField("COLOR_ID_OUTS")
    private String colorIdOuts;

    @ApiModelProperty(value = "外饰颜色中文描述（多个逗号分隔）")
    @TableField("COLOR_NAME_OUTS")
    private String colorNameOuts;

    @ApiModelProperty(value = "选装包（多个以逗号分隔）")
    @TableField("CUSTOM_PACKS")
    private String customPacks;

    @ApiModelProperty(value = "选装包（多个以逗号分隔）")
    @TableField("CUSTOM_PACK_NAMES")
    private String customPackNames;

    @ApiModelProperty(value = "区域（多个以逗号分隔）")
    @TableField("AREAS")
    private String areas;

    @ApiModelProperty(value = "区域（多个以逗号分隔）")
    @TableField("AREA_NAMES")
    private String areaNames;

    @ApiModelProperty(value = "渠道名称（多个以逗号分隔）")
    @TableField("PARTNER_CODES")
    private String partnerCodes;

    @ApiModelProperty(value = "渠道名称（多个以逗号分隔）")
    @TableField("PARTNER_CODE_NAMES")
    private String partnerCodeNames;

    @ApiModelProperty(value = "1启用或0关闭")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "1启用或0关闭")
    @TableField("APP_STATUS")
    private Integer appStatus;

    @ApiModelProperty(value = "失效日期")
    @TableField("EXP_DATE")
    private Date expDate;

    @ApiModelProperty(value = "生效日期")
    @TableField("PD_DATE")
    private Date pdDate;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel;

    @ApiModelProperty(value = "备注")
    @TableField("MEMO")
    private String memo;
}
